package com.etgraph.recap.msof.strategy;

import java.util.Date;
import java.util.Set;

import com.etgraph.recap.msof.template.creator.ExcelTemplateCreator;
import com.etgraph.recap.msof.template.griditem.RecapItem;

public class ExcelTemplateCreatorContext {
	private ExcelTemplateCreator creator;
	public ExcelTemplateCreatorContext(ExcelTemplateCreator creator){
		this.creator = creator;
	}
	
	public void createDate(String dateText, Date date) {
		this.creator.createDate(dateText, date);
	}

	public void createOutstandingItem(String outstandingItemText,
			String outstandingItem) {
		this.creator.createOutstandingItem(outstandingItemText, outstandingItem);
	}

	public void createRecapItemTitle(String... titles) {
		this.creator.createRecapItemTitle(titles);
	}

	public void createRecapItem(Set<RecapItem> items) {
		this.creator.createRecapItem(items);
	}

	public void createMisc(String miscText, String misc) {
		this.creator.createMisc(miscText, misc);
	}
	
	public void autoSizeColumn() {
		this.creator.autoSizeColumn();
	}

}
